﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Net;
using System.Net.Sockets;

namespace TM_Server
{
    /*
     * 此类为全局变量类，通过此类中的变量
     * 来控制程序全局动态
     */
    class Globle
    {
        public static int _isRuning = 0;  // 0 | 未启动 ， 1 | 启动
        public static int _OnLinePort = 10000;  //默认上线端口
        public static Wait2Online Wait2Online = null;  //类句柄
        public static SqlConnection Connection = null;  //保存数据库连接对象
        public static Form1 Main_f = null;
        //创建泛型，来保存登陆成功的用户数据流连接句柄
        public static List<Save_UserStream> list = new List<Save_UserStream>();
    }
}
